diff --git a/src/c/error.d b/src/c/error.d index ca5170954..49432bea2 100644 --- a/src/c/error.d +++ b/src/c/error.d @@ -71,6 +71,9 @@ ecl_thread_internal_error(const char *s) fprintf(stderr, " [%d: %s]\n", saved_errno, strerror(saved_errno)); } + fprintf(stderr, + "\nDid you forget to call `ecl_import_current_thread'?\n" + "Exitting thread.\n"); fflush(stderr); #ifdef ECL_WINDOWS_THREADS ExitThread(0);