fix(logs): handle unexpected log messages (#2303)

* fix(logs): handle unexpected log messages

* fix(logs): update regexp for json to appease the lgtm gods
This commit is contained in:
Danshil Kokil Mungur
2021-12-08 04:20:47 +04:00
committed by GitHub
parent febf0677b8
commit f284e4ab97
3 changed files with 21 additions and 15 deletions

View File

@@ -321,7 +321,9 @@ const SettingsLogs: React.FC = () => {
{row.level.toUpperCase()}
</Badge>
</Table.TD>
<Table.TD className="text-gray-300">{row.label}</Table.TD>
<Table.TD className="text-gray-300">
{row.label ?? ''}
</Table.TD>
<Table.TD className="text-gray-300">{row.message}</Table.TD>
<Table.TD className="flex flex-wrap items-center justify-end -m-1">
{row.data && (