Opened 7 years ago

Last modified 21 months ago

#5951 new defect

Host down in non-EN locale raises error

Reported by: anonymous Owned by:
Priority: low Component: ServerDownMacro
Severity: minor Keywords: errno
Cc: Trac Release: 0.11


When using ServerDownMacro in a non-EN locale (e.g. de_DE as in my case) the error raised on s.connect does not contain Connection refused but a localized message.

Attached patch changes error evaluation to rely on errno instead of message text and it does not use fixed numbers (execpt to 11001 which I could find what kind of error this is exactly).


Attachments (1)

serverdownmacro.diff (892 bytes) - added by anonymous 7 years ago.
patch on serverdownmacro/ to use errno for error handling

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by anonymous

patch on serverdownmacro/ to use errno for error handling

comment:1 Changed 21 months ago by rjollos

  • Owner coderanger deleted

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.