Skip to content

Text-editor command lacks error handling #1194

@mattiaswal

Description

@mattiaswal

Current Behavior

Oct 10 13:00:34 chaka klishd[5744]: user "admin" starting interactive sysrepo session.
Oct 10 13:02:44 chaka klishd[6258]: No data found for "/infix-containers:containers/infix-containers:container[name="supertux"]/infix-containers:mount[name="stk-dedicated.xml"]/infix-containers:content".
Oct 10 13:03:40 chaka klishd[6275]: No data found for "/infix-containers:containers/infix-containers:container[name="supertux"]/infix-containers:mount[name="stk-dedicated.xml"]/infix-containers:content".
Oct 10 13:04:25 chaka klishd[6275]: fstat() failed (Bad file descriptor).
Oct 10 13:04:25 chaka last message buffered 3 times
Oct 10 13:05:06 chaka klishd[6388]: Unsatisfied pattern - "" does not conform to "/.*". (path "/infix-containers:containers/container/mount/target")
Oct 10 13:05:06 chaka klishd[6388]: Invalid datastore edit.
Oct 10 13:05:36 chaka klishd[5744]: user "admin" commiting changes to running ...
Oct 10 13:05:41 chaka klishd[5744]: EV ORIGIN: SHM event "done" ID 439 processing timed out.
Oct 10 13:05:41 chaka klishd[5744]: user "admin" committed changes to running.
Oct 10 13:05:56 chaka klishd[6590]: NACM not initialized.
Oct 10 13:05:58 chaka klishd[5744]: user "admin" leaving sysrepo session.

Mostly caused by some of these commands:
text-editor mount stk-dedicated.xml target
text-editor mount stk-dedicated.xml target /tmp/stk-dedicated.xm

Expected Behavior

✔️

Steps To Reproduce

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions