mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-04-05 08:53:53 -04:00
Implemented LOG_LEVEL environment variable. Implemented log_level HA variable. Implemented log level based on user preference. Changed UniFi stack trace output from error to debug. Removed duplicate cache error log. Implemented internal build number. Updated README.md. Added account warning to README.md. Output build version on application start
This commit is contained in:
@@ -20,9 +20,8 @@ module.exports = {
|
||||
return new Promise(async (resolve) => {
|
||||
log.info('[Cache] Requesting UniFi Vouchers...');
|
||||
|
||||
const vouchers = await unifi.list().catch((e) => {
|
||||
const vouchers = await unifi.list().catch(() => {
|
||||
log.error('[Cache] Error requesting vouchers!');
|
||||
log.error(e);
|
||||
});
|
||||
|
||||
if(vouchers) {
|
||||
|
||||
Reference in New Issue
Block a user