Makes error logging clearer