Catch exception when log files are not available