Skip to content

Commit

Permalink
Recorder: Define and use our own errordomain instead of Gst's (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano authored Mar 20, 2024
1 parent 153b05d commit b072ce4
Show file tree
Hide file tree
Showing 2 changed files with 303 additions and 293 deletions.
4 changes: 2 additions & 2 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ public class MainWindow : Gtk.ApplicationWindow {
private void show_record () {
try {
recorder.start_recording ();
} catch (Gst.ParseError e) {
} catch (Model.RecorderError err) {
show_error_dialog (
_("Failed to start recording"),
_("There was an error while starting recording."),
e.message
err.message
);
return;
}
Expand Down
Loading

0 comments on commit b072ce4

Please sign in to comment.