Logs: Handle errors for certain conditions