Specify default $log arg value for DebugException

When mongobridge is not found, this exception is thrown and there is no $log available to use.
Merge pull request #574