UP | HOME

Log an Error, pl0x

(2013-07-15 16:26:53) Sqrrl: Anticommentist fodder

switch (pathStack.GetPath)
{
case "messages.message.p.i":
pathStack.Pop();
return va;
case "messages.message.p":
// log error
return null;
default:
pathStack.Pop();
break;
}
(2013-07-15 16:27:09) Sqrrl: This really should be a blog
(2013-07-15 16:27:12) Ishpeck: How is returning null logging an error?
(2013-07-15 16:27:26) Sqrrl: It's not. The comment is there to remind someone to log an error :P
(2013-07-15 16:27:36) Ishpeck: When was that committed?
(2013-07-15 16:28:56) Sqrrl: Oct 19 2012

Date: 2013-07-15 16:19

Author: Anthony "Ishpeck" Tedjamulia

Org version 7.9.3f with Emacs version 24

Validate XHTML 1.0