Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve message formatting for exception. #15

Merged
merged 1 commit into from
Nov 11, 2019
Merged

Conversation

mtbc
Copy link
Member

@mtbc mtbc commented Nov 1, 2019

In ome/openmicroscopy#6110 (comment) I noticed,

java.lang.IllegalArgumentException: Invalid directory specified for file system service./nfs/omero/idr-repo/omero-server

See the diff for an obvious formatting fix. Try setting omero.data.dir to nonsense to reproduce.

@joshmoore
Copy link
Member

Change is fine. Longer term we likely want to print which of the booleans happens to be true in this case and/or deal with ACLs: https://forum.image.sc/t/import-data-to-omero-permission-denied/29427/4?u=joshmoore

@joshmoore joshmoore merged commit 1e5640c into ome:master Nov 11, 2019
@mtbc mtbc deleted the FS-error branch November 11, 2019 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants