mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 01:27:42 +01:00
Log errors to JS console from ErrorView to catch them in Unit tests
This commit is contained in:
parent
621e0b6f6e
commit
01d6f4df28
@ -5,6 +5,7 @@ import {faBug} from "@fortawesome/free-solid-svg-icons";
|
||||
import LoadIn from "../components/animation/LoadIn";
|
||||
|
||||
export const ErrorViewText = ({error}) => {
|
||||
console.error(error);
|
||||
return (
|
||||
<>
|
||||
<p>{error.message} {error.url && <a href={error.url}>{error.url}</a>}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user