Only the error code is being displayed on cli and explorer without the inner value

For cross contract calls, the error code of the cross contract is part of the return value inside the enum variant. But the error code just displays the number instead of the return value which makes very difficult in finding what the error code can be. How to look at the return value.