Opened 10 years ago

Closed 10 years ago

#980 closed defect (fixed)

Missing useful server error message when Coordinate system cannot be found

Reported by: uvlite Owned by: brucedechant
Priority: medium Milestone: 2.1
Component: General Version: 2.0.2
Severity: trivial Keywords: error reporting
Cc: External ID:

Description

When starting the server without the env variable set the error message is simply "cannot init coordinate system". Although this is correct it is quite useless for any novice user. So the error message could be a lot more useful.

I include a patch which adds a DEBUG level message to the output of the server when the Mentor dictionary variable is not set. This is just another message but an extremely useful one for a very important use case: start the server as a novice.....

Attachments (1)

MGCoordSystemMessages2.patch (2.8 KB) - added by uvlite 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by uvlite

comment:1 Changed 10 years ago by brucedechant

Owner: set to brucedechant
Status: newassigned

Thanks for attaching a patch file that addresses this ticket. I'll test it out and submit it when finished.

comment:2 Changed 10 years ago by brucedechant

Version: 2.1.02.0.2

comment:3 Changed 10 years ago by brucedechant

Resolution: fixed
Status: assignedclosed

I had to update your patch with a few changes before I submitted it. They are as follows:

  • Removed source code lines that were commented out in your patch and not part of the original source code.
  • Cleaned up debug statements.

Fixed r3854

Note: See TracTickets for help on using tickets.