Improve sandbox inject_* error messages issue #1156