Bug 45

Summary: crash when providing a folder to --config CLI option
Product: Orthanc Reporter: Sébastien Jodogne <s.jodogne>
Component: Orthanc CoreAssignee: Sébastien Jodogne <s.jodogne>
Status: RESOLVED FIXED    
Severity: minor    
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   

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