mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-17 04:32:15 +01:00
fix(chromium): add missing wrapped error
This commit is contained in:
@@ -109,7 +109,7 @@ func FormDataChromiumOptions(ctx *api.Context) (*api.FormData, Options) {
|
|||||||
return groups[1].String() + canon + groups[3].String()
|
return groups[1].String() + canon + groups[3].String()
|
||||||
}, -1, -1)
|
}, -1, -1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("normalize sameSite from cookies: %w")
|
return fmt.Errorf("normalize sameSite from cookies: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = json.Unmarshal([]byte(normalized), &cookies)
|
err = json.Unmarshal([]byte(normalized), &cookies)
|
||||||
|
|||||||
Reference in New Issue
Block a user