submodule better error reporting