Page MenuHomeVyOS Platform

Raise error in op-mode dns.py instead of calling exit
Closed, ResolvedPublicBUG

Description

Op-mode scripts should raise the appropriate error instead of calling exit. This is necessary as the script canonical functions are loaded by opmode, respectively, API.

Details

Difficulty level
Easy (less than an hour)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro renamed this task from Raise error in op-mode dns.py instead of exit to Raise error in op-mode dns.py instead of calling exit.Mar 23 2023, 1:27 PM
jestabro triaged this task as Normal priority.
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.