Add exception to console exception log

@adrienbrault could you please fix this? Then it can be merged.