Skip to content

Conversation

@abrahamwolk
Copy link
Collaborator

@abrahamwolk abrahamwolk commented Jul 17, 2025

This pull request removes the logging of the warning when resource_name is not a URL in the function canOpenUrl(). It also clarifies the comment describing the function canOpenUrl().

The logging of this warning was introduced in the pull request #3246. It logs a warning when a resource is not a URL. However, canOpenUrl() is called in the function doResolveResource() in order to determine whether a given resource is specified as a URL or not, and it is not an error if it is not a URL. If the resource is not a URL, canOpenUrl() returns false, and an attempt is made to load the given resource as a file instead.

If the resource is also not a file path, then the function doResolveResource() logs a warning of the form "<resource> is not resolved".

@abrahamwolk abrahamwolk merged commit d5a37cd into master Jul 17, 2025
3 checks passed
@shroffk shroffk deleted the CSSTUDIO-3336 branch October 3, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants