Added check for error-logs to diagnostics. #51