Skip to content

Commit

Permalink
Fix opening files via menu
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryAstafyev committed Jul 12, 2023
1 parent 35835c3 commit d8b6687
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions application/client/src/app/service/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ export class Service extends Implementation {
case FileType.PcapNG:
return new handlers.FilePcap.Action().apply();
default:
return Promise.reject(
new Error(`Unsupported format: ${request.type}`),
);
return new handlers.FileAny.Action().apply();
}
})()
.then(() =>
Expand Down

0 comments on commit d8b6687

Please sign in to comment.