diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c index 85d506f6e..49b787a3b 100644 --- a/test/test.c +++ b/test/test.c @@ -1345,3 +1345,13 @@ static int CheckOptions( int argc, char ** argv ) return 0; } +/**************************************************************************** + * hb_error_handler + * + * When using the CLI just display using hb_log as we always did in the past + * make sure that we prefix with a nice ERROR message to catch peoples eyes. + ****************************************************************************/ +void hb_error_handler ( const char *errmsg ) +{ + hb_log( "ERROR: %s", errmsg ); +} |