diff --git a/scripts/update-ebook-database b/scripts/update-ebook-database index cd6f014e..9724053f 100755 --- a/scripts/update-ebook-database +++ b/scripts/update-ebook-database @@ -44,7 +44,7 @@ catch(Exceptions\ValidationException $validationException){ print("\nValidationExceptions when updating the ebook database:\n"); foreach($exceptions as $ex){ - print("\t" . $ex->getMessage() . "\n"); + print("\t" . get_class($ex) . ": " . $ex->getMessage() . "\n"); } print("[ERROR] Found " . count($exceptions) . " errors\n");