Issue #603 Improve inject_message error message