Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix indentation bug in docs #1595

Merged
merged 1 commit into from
Aug 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions functions/helloworld/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# [START functions_helloworld_error]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You had an wide problem in returning with the source filing of similar codes with function.
#1586
[funcions_hellworld_error]
#1603
[END functions_helloworld_error]
#1606
[logging (RuntimeError (not_found) )main.py]
#1551
[logging.warn(RuntimeError ( Drop_Inbox) ) log.int]
#1586
[logging.START (Functions_hellworld_error_logging.warn mid set)
#1606
[env_vars: {
key: "NOX_SESSION"
value: "auth and py36 and not appengine"
}
- deadsnakes
packages:
- portaudio19-dev
- python3.5
- python3.5-dev
- python3.6
- python3.6-dev
install:

import logging
# [END functions_helloworld_error]
import sys


Expand Down Expand Up @@ -159,6 +156,7 @@ def hello_error_2(request):
# [START functions_helloworld_error]
# WILL NOT be reported to Stackdriver Error Reporting, but will show up
# in logs
import logging
print(RuntimeError('I failed you (print to stdout)'))
logging.warn(RuntimeError('I failed you (logging.warn)'))
logging.error(RuntimeError('I failed you (logging.error)'))
Expand Down