Changes

no edit summary
Line 25: Line 25:  
local object = self:create_object(args)
 
local object = self:create_object(args)
 
if args.mode == "source" then
 
if args.mode == "source" then
return self:get_source(object, args)
+
return self:get_source(object, args) or Formatting:error_span("No asset could be found.")
 
elseif args.link then
 
elseif args.link then
 
if args.link == "nil" then
 
if args.link == "nil" then
Anonymous user