mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 15:44:59 +00:00
add report line
This commit is contained in:
parent
1c922b0ec3
commit
5bbab16e3c
@ -230,6 +230,8 @@ const event: ErrorDiagnostic = {
|
||||
severity: 'fatal',
|
||||
error: new Error("my error")
|
||||
}
|
||||
|
||||
engine.diagnostics.report(event);
|
||||
```
|
||||
|
||||
Here is an excerpt of the relevant types used in the previous examples:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user