Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 2, 2024. It is now read-only.
/corePublic archive

Commit44212eb

Browse files
committed
chore:make error more versbose
1 parentce6732d commit44212eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎extras.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (ex *extras) htmlToX(w http.ResponseWriter, r *http.Request) {
158158
varbuf []byte
159159

160160
iferr:=chromedp.Run(ctx,ex.toBytes(data,&buf));err!=nil {
161-
http.Error(w,err.Error(),http.StatusInternalServerError)
161+
http.Error(w,fmt.Sprintf("htmltox chromedp run %s",err.Error()),http.StatusInternalServerError)
162162
return
163163
}
164164

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp