We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d22356a commit a6e1da5Copy full SHA for a6e1da5
app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java
@@ -172,7 +172,7 @@ private boolean isValidNewName() throws IOException {
172
try {
173
testFile.createNewFile(); // return value is ignored; it could be 'false' because
174
// the file already existed, that doesn't invalidate the name
175
- } catch (IOException e) {
+ } catch (Exception e) {
176
Log_OC.i(TAG, "Test for validity of name " + newName + " in the file system failed");
177
return false;
178
}
0 commit comments