Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
piphone-front
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
a724e21c
Commit
a724e21c
authored
Jan 31, 2017
by
okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better management of errors
parent
65d27494
Pipeline
#826
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/Main.php
app/Main.php
+2
-2
No files found.
app/Main.php
View file @
a724e21c
...
...
@@ -96,9 +96,9 @@ class Main extends Controller {
$f3
->
set
(
'VERB'
,
'GET'
);
$this
->
feedbackform
(
$f3
,
$args
);
}
catch
(
RequestException
$e
)
{
$block_content
=
print_r
(
Psr7\str
(
$e
->
getRequest
()
));
$block_content
=
Psr7\str
(
$e
->
getRequest
(
));
if
(
$e
->
hasResponse
())
{
$block_content
.
=
print_r
(
Psr7\str
(
$e
->
getResponse
()
));
$block_content
.
=
Psr7\str
(
$e
->
getResponse
(
));
}
$f3
->
set
(
'block_content'
,
$block_content
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment