Bug 45 - crash when providing a folder to --config CLI option
Summary: crash when providing a folder to --config CLI option
Status: RESOLVED FIXED
Alias: None
Product: Orthanc
Classification: Unclassified
Component: Orthanc Core (show other bugs)
Version: unspecified
Hardware: All All
: --- minor
Assignee: Sébastien Jodogne
URL:
Depends on:
Blocks:
 
Reported: 2020-06-29 15:12 CEST by Sébastien Jodogne
Modified: 2020-06-29 15:20 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Jodogne 2020-06-29 15:12:22 CEST
[BitBucket user: Alain Mazy]
[BitBucket date: 2017-04-14.06:53:14]

It's been quite a common mistake to write
`Orthanc --config=/etc/orthanc/`

instead of 

`Orthanc /etc/orthanc/`

In the first case, you do get an immediate crash without any output in the log.  Would be nice to display a nice message
Comment 1 Sébastien Jodogne 2020-06-29 15:20:06 CEST
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2017-07-05.10:26:36]

Fix issue #45 (crash when providing a folder to "--config" command-line option)

→ https://hg.orthanc-server.com/orthanc/changeset/5465cab476cf