Skip to content

thumbnailer panics when THUMBNAILS_TXT_FONTMAP_FILE does not exist #2015

Closed

Description

@rhafer

Describe the bug

The thumbnailer panic when trying to render a preview of a text file and THUMBNAILS_TXT_FONTMAP_FILE points to a non existing file.

Error checks are missing here:
https://github.com/opencloud-eu/opencloud/blob/main/services/thumbnails/pkg/preprocessor/preprocessor.go#L145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions