Rename doAs with exception in tryAs
[lgpl/argeo-commons.git] / org.argeo.cms.ui / src / org / argeo / cms / fs / CmsFsBrowser.java
index bf4e9b57086c2166783acddeaf52c8c483d4dc99..dfa1afccae0d61c3bece6083e78b6c4491c9a7b0 100644 (file)
@@ -294,7 +294,7 @@ public class CmsFsBrowser extends Composite {
                                        }
 
                                };
-                               fileSystem = CurrentUser.doAs(pea);
+                               fileSystem = CurrentUser.tryAs(pea);
                        }
                        return fileSystem.getPath(getCurrentHomePath() + "/" + FS_FILES);
                } catch (URISyntaxException | PrivilegedActionException e) {