File tree 1 file changed +3
-4
lines changed
apps/webapp/src/app/pages/simulator
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ export default class SimulatorComponent implements OnInit {
58
58
this . mode . set ( 'question' ) ;
59
59
} ,
60
60
error : ( ) => {
61
- const messageError = 'Ups, something went wrong with the transcription. Please try again.' ;
62
- this . toastr . error ( messageError , 'Error!' ) ;
63
61
this . mode . set ( 'recording' ) ;
64
62
} ,
65
63
} ) ;
@@ -74,8 +72,9 @@ export default class SimulatorComponent implements OnInit {
74
72
this . answer . set ( newMessage . text ) ;
75
73
this . createFeedback ( question , newMessage . text ) ;
76
74
} ,
77
- error : ( error ) => {
78
- console . error ( error ) ;
75
+ error : ( ) => {
76
+ const messageError = 'Ups, something went wrong with the transcription. Please try again.' ;
77
+ this . toastr . error ( messageError , 'Error!' ) ;
79
78
this . mode . set ( 'recording' ) ;
80
79
} ,
81
80
} ) ;
You can’t perform that action at this time.
0 commit comments