mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 11:16:34 +00:00
Merge pull request #1929 from balena-os/splash-image-no-fail
Avoid splash image failures if image is corrupt
This commit is contained in:
commit
b0a89cf4b3
@ -84,7 +84,9 @@ export class SplashImage extends ConfigBackend {
|
||||
// Write the buffer to the given location
|
||||
await hostUtils.writeToBoot(where, buffer);
|
||||
} else {
|
||||
throw new Error('Splash image should be a base64 encoded PNG image');
|
||||
log.error(
|
||||
'Expected splash image to be a base64 encoded PNG image. Skipping write.',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user