Hi,
While developing the FGCP driver, I often introduce bugs where I invoke
[] on a nil object.
When using the DC GUI, this causes the following backtrace:
NoMethodError - undefined method `code' for #<NameError:0x7fe779972da0>:
/mnt/hgfs/deltacloud/server/lib/deltacloud/helpers/application_helper.rb
:69:in `filter_all'
/mnt/hgfs/deltacloud/server/lib/deltacloud/server.rb:676
The line is:
report_error(@exception.code)
If I add a 'puts @exception.backtrace' in front of it it at least logs
the backtrace to the bug in my bug.
Can we introduce such a chance here, and if we do, what kind of change
would fit best?
Thanks,
Dies Koper