mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-16 12:22:17 +01:00
better op names + fixing issue with op chaining in errors
This commit is contained in:
@@ -22,7 +22,7 @@ func (p *unoconv) Fullname() string {
|
||||
}
|
||||
|
||||
func (p *unoconv) Start() error {
|
||||
const op = "unoconv.Start"
|
||||
const op = "pm2.unoconv.Start"
|
||||
if err := p.manager.start(p); err != nil {
|
||||
return &standarderror.Error{Op: op, Err: err}
|
||||
}
|
||||
@@ -30,7 +30,7 @@ func (p *unoconv) Start() error {
|
||||
}
|
||||
|
||||
func (p *unoconv) Shutdown() error {
|
||||
const op = "unoconv.Shutdown"
|
||||
const op = "pm2.unoconv.Shutdown"
|
||||
if err := p.manager.shutdown(p); err != nil {
|
||||
return &standarderror.Error{Op: op, Err: err}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user