Better error messages

This commit is contained in:
Reinhard Pointner 2016-05-13 00:09:46 +08:00
parent 60bd6df2f8
commit 4827f212c7
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ public class CmdlineOperations implements CmdlineInterface {
movie = service.getMovieDescriptor((Movie) selectSearchResult(null, options, false, strict).get(0), locale);
}
} catch (Exception e) {
log.log(Level.WARNING, format("%s: [%s/%s] %s", e.getClass().getSimpleName(), guessMovieFolder(file) != null ? guessMovieFolder(file).getName() : null, file.getName(), e.getMessage()));
log.log(Level.WARNING, format("%s: [%s] %s", e.getClass().getSimpleName(), getStructurePathTail(file), e.getMessage()));
}
}