Provide empty namespace array on error fetching

pull/3792/head
Brandon Farmer 2018-06-28 11:36:31 -07:00
parent e9866cff6d
commit aed247f01b
1 changed files with 1 additions and 0 deletions

View File

@ -31,5 +31,6 @@ export const getDatabasesWithRetentionPolicies = async (
return sorted
} catch (err) {
console.error(err)
return []
}
}