Ticket #149 (closed enhancement: fixed)

Opened 8 months ago

Last modified 8 months ago

'@' error suppression failing during plog-import

Reported by: sidtheduck Owned by: mike
Priority: low Milestone:
Component: Administration Version: 1.0b3
Severity: minor Keywords:
Cc:

Description

As seen on the forum here the '@' error suppression still throws errors and terminates the script (in some server environments).

Change History

Changed 8 months ago by sidtheduck

Should we be using conditional statements (which worked for tristan.ferroir) instead of just suppressing error messages? Do we only change them out if they fail on someone's server or change the code for each one (as possible)?

Changed 8 months ago by anonymous

Supressing error message using @ instead of actual error handling is definitely NOT the best way to do things. Probably a lazy fix I threw in there at some point :)... I didn't realize it didn't work on some environments. Sid, I think the code you posted in the forum is great, add it to the core if you haven't already.

Changed 8 months ago by sidtheduck

  • status changed from new to closed
  • resolution set to fixed

Fixed in r522

Note: See TracTickets for help on using tickets.