mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
* gracefully ignore if creationTime not supported on the given OS
This commit is contained in:
parent
c2398cc6b0
commit
cb4f1251bf
@ -33,7 +33,7 @@ public class MetaAttributes {
|
|||||||
try {
|
try {
|
||||||
fileAttributeView.setTimes(null, null, FileTime.fromMillis(millis));
|
fileAttributeView.setTimes(null, null, FileTime.fromMillis(millis));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new IllegalStateException(e);
|
// creationTime not supported => ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user