added button to print error message

1 job for feat-ui-changes