Skip to content

Commit

Permalink
Re-add error catch for master files
Browse files Browse the repository at this point in the history
I had removed an error catch for some testing and accidentally left it out
of the prior commit
  • Loading branch information
masaball committed Aug 19, 2022
1 parent 8b55fa7 commit b8a8bb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/helpers/security_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def secure_streams(stream_info, media_object_id)
add_stream_url(stream_info)
end
end
rescue Ldp::BadRequest
add_stream_url(stream_info)
rescue StreamToken::Unauthorized
end
stream_info
Expand Down

0 comments on commit b8a8bb7

Please sign in to comment.