Skip to content
Snippets Groups Projects
Commit 9611d8d0 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon: Committed by Dmitry Ivanov
Browse files

core: change bug report destination to picodata related one

NO_DOC=internal change
NO_TEST=internal change
parent a9069652
No related branches found
No related tags found
No related merge requests found
## feature/core
When crashing a message will now direct users to report bugs at support@picodata.io.
This info can also be changed at build time by adding a preprocessor definition
for `PICODATA_BUG_REPORT_INFO`, e.g. by adding this line to a `CMakeLists.txt`:
```cmake
add_definitions(-DPICODATA_BUG_REPORT_INFO="support@picodata.io")
```
......@@ -16,6 +16,10 @@
#include "crash.h"
#include "say.h"
#ifndef PICODATA_BUG_REPORT_INFO
#define PICODATA_BUG_REPORT_INFO "support@picodata.io"
#endif
/** Storage for crash_collect function return value. */
static struct crash_info crash_info;
......@@ -143,8 +147,7 @@ crash_report_stderr(struct crash_info *cinfo)
#endif /* HAS_GREG */
fprintf(stderr, "Current time: %u\n", (unsigned)time(0));
fprintf(stderr, "Please file a bug at "
"https://github.com/tarantool/tarantool/issues\n");
fprintf(stderr, "Please file a bug at " PICODATA_BUG_REPORT_INFO "\n");
#ifdef ENABLE_BACKTRACE
fprintf(stderr, "Attempting backtrace... Note: since the server has "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment