Base: Add module name to error and debug output