What steps will reproduce the problem?
IronPython 2.6 (2.6.10920.0) on .NET 2.0.50727.4952
Type "help", "copyright", "credits" or "license" for more information.
>>> import clr
>>> clr.AddReference('Elmah')
>>> from Elmah import *
>>> from System import Guid
>>> from Elmah import *
>>> log = XmlFileErrorLog({'logPath':r'C:\temp'})
>>> e = log.GetError(Guid.Empty.ToString())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: [Errno 2] Cannot locate error file for error with ID
00000000-0000-0000-0000-000000000000.
What is the expected output? What do you see instead?
Expected XmlFileErrorLog.GetError to return a null reference, like all other
error log implementations do. Instead it throws an exception of type
FileNotFoundException.
Additional information:
- ELMAH 1.2 BETA
Original issue reported on code.google.com by azizatif on 16 Feb 2011 at 10:05
Original issue reported on code.google.com by
azizatif
on 16 Feb 2011 at 10:05