Change Error to warning when not on a Raspberry
This commit is contained in:
@@ -68,7 +68,7 @@ class Raspberry:
|
|||||||
self.app.logger.warning(
|
self.app.logger.warning(
|
||||||
"Couldn't get sufficient hardware information from /proc/cpuinfo"
|
"Couldn't get sufficient hardware information from /proc/cpuinfo"
|
||||||
)
|
)
|
||||||
self.app.logger.error("Unable to determine if we are on a Raspberry Pi.")
|
self.app.logger.warning("Unable to determine if we are on a Raspberry Pi.")
|
||||||
return False
|
return False
|
||||||
except IOError:
|
except IOError:
|
||||||
self.app.logger.error("Unable to open `/proc/cpuinfo`.")
|
self.app.logger.error("Unable to open `/proc/cpuinfo`.")
|
||||||
|
|||||||
Reference in New Issue
Block a user