Log errors for debug purposes.