We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c3b5c commit 9046b84Copy full SHA for 9046b84
t/000_init.t
@@ -88,8 +88,11 @@ GET /init
88
--- config
89
location = /init {
90
postgres_pass database;
91
- postgres_query "DROP TABLE IF EXISTS numbers";
+ postgres_query "DROP TABLE numbers";
92
+ error_page 500 = /ignore;
93
}
94
+
95
+ location /ignore { echo "ignore"; }
96
--- request
97
GET /init
98
--- error_code: 200
@@ -116,8 +119,11 @@ GET /init
116
119
117
120
118
121
- postgres_query "DROP TABLE IF EXISTS users";
122
+ postgres_query "DROP TABLE users";
123
124
125
126
127
128
129
0 commit comments