[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 4ea6271: Bug report email added to several Mak
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 4ea6271: Bug report email added to several MakeCatalog error messages |
Date: |
Sun, 22 Jul 2018 18:06:27 -0400 (EDT) |
branch: master
commit 4ea6271d14f2b5e986f83ae029b2ed87ae28d825
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Bug report email added to several MakeCatalog error messages
Some of the error messages in MakeCatalog's `columns.c' file didn't have
the bug report email address in them. So it was added where necessary.
---
bin/mkcatalog/columns.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/bin/mkcatalog/columns.c b/bin/mkcatalog/columns.c
index fd098a6..b7866c0 100644
--- a/bin/mkcatalog/columns.c
+++ b/bin/mkcatalog/columns.c
@@ -1382,8 +1382,9 @@ columns_second_order(struct mkcatalog_passparams *pp,
double *row,
/* Error. */
default:
- error(EXIT_FAILURE, 0, "%s: a bug! Code %d not a recognized key",
- __func__, key);
+ error(EXIT_FAILURE, 0, "%s: a bug! Please contact us at %s to fix the "
+ "problem. %d is not a recognized key", __func__, PACKAGE_BUGREPORT,
+ key);
}
/* Return the output. */
@@ -1466,14 +1467,15 @@ columns_xy_extrema(struct mkcatalog_passparams *pp,
size_t *coord, int key)
case UI_KEY_MINY: return coord[0] + 1; break;
case UI_KEY_MAXY: return coord[0] + tile->dsize[0]; break;
default:
- error(EXIT_FAILURE, 0, "%s: a bug! Please contact us to fix the "
+ error(EXIT_FAILURE, 0, "%s: a bug! Please contact us at %s to fix the "
"problem. The value %d is not a recognized value", __func__,
- key);
+ PACKAGE_BUGREPORT, key);
}
/* Control should not reach here. */
- error(EXIT_FAILURE, 0, "%s: a bug! please contact us to fix the problem. "
- "Control should not reach the end of this function", __func__);
+ error(EXIT_FAILURE, 0, "%s: a bug! please contact us at %s to fix the "
+ "problem. Control should not reach the end of this function",
+ __func__, PACKAGE_BUGREPORT);
return GAL_BLANK_UINT32;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 4ea6271: Bug report email added to several MakeCatalog error messages,
Mohammad Akhlaghi <=