ModelSEED/Model-SEED-core — Issue #109: ModelSEED Warnings
Author: samseaver
Created: 2011-12-09 15:22:53+00:00
State: open

I ran into a ModelSEED::globals::WARNING that I had created in the past month and forgot about. There was nothing wrong with the code, and the warning was appropriate. However, the output generated by the warning, with the stack trace, made me do a double-take and re-check my code.

The problem here was printing a stack track very much like an error, tracking the various lines in the perl code, made me think I had an error. By using ModelSEED::globals::WARNING, we should probably remove this, and have it just print the warning message itself, because its intended to be for notification, and not de-bugging, purposes.