mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Console message packets should have a '_type' attribute
This commit is contained in:
parent
3649a356c8
commit
088351469a
1 changed files with 2 additions and 2 deletions
|
@ -252,7 +252,7 @@ bitflags! {
|
|||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub struct PageError {
|
||||
#[serde(rename = "type")]
|
||||
#[serde(rename = "_type")]
|
||||
pub type_: String,
|
||||
pub errorMessage: String,
|
||||
pub sourceName: String,
|
||||
|
@ -270,7 +270,7 @@ pub struct PageError {
|
|||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub struct ConsoleAPI {
|
||||
#[serde(rename = "type")]
|
||||
#[serde(rename = "_type")]
|
||||
pub type_: String,
|
||||
pub level: String,
|
||||
pub filename: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue