Skip to content

Commit 475caf6

Browse files
authored
Update .iris_init
add error display alias
1 parent 5e37f9f commit 475caf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .iris_init

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
:alias createdb do $SYSTEM.SQL.Execute("CREATE DATABASE $1") ;
44
:alias installipm s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c") ;
55
:alias add%all x "n $namespace set $namespace=""%SYS"",P(""Globals"")=""%DEFAULTDB"",sc=##class(Config.Namespaces).Create(""%All"",.P)" ;
6-
:alias exportglobal d $System.OBJ.Export("$1.GBL","$2$1.xml") ;
6+
:alias exportglobal d $System.OBJ.Export("$1.GBL","$2$1.xml") ;
7+
:alias err d $System.Status.DisplayError($1) ;

0 commit comments

Comments
 (0)