TRQ-2025 prints queue name twice

Remove duplicate queue name from err message:
- chnges for get_err_msg(): parameter id can be NULL
- UT has added