Add Logs to errors