[test dashboard] display test error if instanceof Error