Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
821
Issues
821
List
Boards
Labels
Service Desk
Milestones
Merge Requests
61
Merge Requests
61
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
3d0dcc67
Commit
3d0dcc67
authored
3 hours ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): catch error message
parent
092e10a9
master
No related merge requests found
Pipeline
#65916399 (#494)
passed with stages
in 42 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
video.component.ts
src/app/modules/media/components/video/video.component.ts
+5
-4
No files found.
src/app/modules/media/components/video/video.component.ts
View file @
3d0dcc67
...
...
@@ -231,10 +231,11 @@ export class MindsVideoComponent {
const
success
=
this
.
pickNextBestSource
();
if
(
!
success
)
{
let
response
:
any
=
await
this
.
client
.
get
(
`api/v1/media/transcoding/
${
this
.
guid
}
`
);
this
.
transcoding
=
response
.
transcoding
;
if
(
response
.
error
)
{
this
.
transcodingError
=
response
.
error
;
try
{
let
response
:
any
=
await
this
.
client
.
get
(
`api/v1/media/transcoding/
${
this
.
guid
}
`
);
this
.
transcoding
=
response
.
transcoding
;
}
catch
(
e
)
{
this
.
transcodingError
=
e
.
error
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment