Throw an exception on LocalRemoteAssetTrait.php function

Created on 4 January 2022, about 3 years ago
Updated 22 March 2023, almost 2 years ago

Problem/Motivation

I was looking into things I could help with on this module and found this @todo tag I could work with on LocalRemoteAssetTrait.php

Steps to reproduce

go to libraries/src/ExternalLibrary/Asset/LocalRemoteAssetTrait.php and check the line 54:
@todo Throw an exception.

Proposed resolution

Add a throw new \Exception with an appropriate error message.

Remaining tasks

Review the patch.

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇷Brazil andregp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024