Skip to content

Catching wrong exception #9

@marcelklehr

Description

@marcelklehr

Actually thrown: OCP\DB\Exception
You are catching: \Exception

https://github.com/nextcloud/text2image_helper/blob/main/lib/Reference/Text2ImageHelperReferenceProvider.php#L80

I recommend adding the psalm static analysis github actions workflow: #8

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions