Add source id to error alert
This commit is contained in:
parent
eb86d12d63
commit
b3e8253ed7
|
@ -7,5 +7,5 @@ type Props = {
|
|||
};
|
||||
|
||||
export const SquiggleErrorAlert: React.FC<Props> = ({ error }) => {
|
||||
return <ErrorAlert heading="Error">{error.toString()}</ErrorAlert>;
|
||||
return <ErrorAlert heading="Error">{error.toString()} (Source: {error.getSource()})</ErrorAlert>;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user