work in progress to show detailed error message