Fixes empty error object as shown below
Now shows the relevant error message provided from xsweet container