fix pending log messages for non-runtime errors